#ifndef THREAD_SUBBOOKLOADER_H
#define THREAD_SUBBOOKLOADER_H

#include "TreeItem_SubBook.h"

#include <QTCore/QThread>

namespace Jonathan
{

   class Thread_SubBookLoader : public QThread
   {
      Q_OBJECT
   public:
      Thread_SubBookLoader (QObject *parent = 0);
      void LoadBooks       (QTreeWidgetItem *bookItem);

   protected:
      void run             ();

   private:
      QTreeWidgetItem      *m_BookItem;
   };

}

#endif // THREAD_SUBBOOKLOADER_H
